<%-- 
    Document   : AdminCardTypeView
    Created on : Mar 6, 2011, 10:44:47 PM
    Author     : trietto
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/tlds/admin/admincontroltags.tld" prefix="admincontrol"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <c:if test="${empty sessionScope.user}" >
            <c:redirect url="/Login.jsp" />
        </c:if>
        <jsp:useBean id="user" type="models.Member" scope="session" />
        <jsp:setProperty name="user" property="*" />
        <c:if test="${user.memberLevel!=1}" >
            <c:redirect url="/Default.jsp" />
        </c:if>
        <table border="0" width="100%">
            <tr>
                <td>
                    <jsp:include page="AdminMenu.jsp" />
                </td>
                <td>
                    <admincontrol:CardTypeFormEdit />
                    <br>
                    <admincontrol:CardTypeGrid />
                </td>
            </tr>
        </table>
    </body>
</html>
